FROM postgres:16-alpine

WORKDIR /app

COPY db/scheme.sql /app/db/scheme.sql
COPY db/init/entrypoint.sh /app/entrypoint.sh

RUN chmod +x /app/entrypoint.sh

ENTRYPOINT ["/app/entrypoint.sh"]

